<?php /* Smarty version Smarty-3.1.14, created on 2014-12-11 17:09:23
         compiled from "..\templates\languages\translation_list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3250054896d535910d3-66814934%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7c2af081ff55a9759ac77e7ed9fa2f2e943d8bf6' => 
    array (
      0 => '..\\templates\\languages\\translation_list.tpl',
      1 => 1418200149,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3250054896d535910d3-66814934',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'notice' => 0,
    'list_lang' => 0,
    'lang' => 0,
    'check_lang' => 0,
    'show_table' => 0,
    'table' => 0,
    'select_table' => 0,
    'detail' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_54896d53699832_22621246',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54896d53699832_22621246')) {function content_54896d53699832_22621246($_smarty_tpl) {?><div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> 
    <a href="#" class="current">Danh sách thể loại</a> </div>
  </div>
  <?php echo $_smarty_tpl->tpl_vars['notice']->value;?>

  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
      
        <div class="widget-box">
          <div class="widget-title">
           <div class="buttons" style="position:absolute;right:175px">							
        </div>
            <span style="float:right;margin:2px 250px 0px 0px;" >
            <form name="admin_id" method="get">
            <select name="languages" onchange="document.admin_id.submit()" id="countries">
                <option value="-1" >Select a languages:</option>
                <?php  $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lang']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list_lang']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value){
$_smarty_tpl->tpl_vars['lang']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['lang']->key;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['lang']->value['lang_code'];?>
" <?php if ($_smarty_tpl->tpl_vars['lang']->value['lang_code']==$_smarty_tpl->tpl_vars['check_lang']->value['lang_code']){?>selected="selected"<?php }?> data-image="/upload/icon/blank.gif" data-imagecss="flag <?php echo $_smarty_tpl->tpl_vars['lang']->value['lang_code'];?>
"><?php echo $_smarty_tpl->tpl_vars['lang']->value['title'];?>
</option>
                <?php } ?>
            </select>
            <select name="list_table" onchange="document.admin_id.submit()" id="list_table_lang">
                <option value="-1" >Select a customer:</option>
                <?php  $_smarty_tpl->tpl_vars['table'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['table']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['show_table']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['table']->key => $_smarty_tpl->tpl_vars['table']->value){
$_smarty_tpl->tpl_vars['table']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['table']->value['Tables_in_shop_baby'];?>
"><?php echo $_smarty_tpl->tpl_vars['table']->value['Tables_in_shop_baby'];?>
</option>
                <?php } ?>
            </select>
           
            </form>
            </span>  
            <h5>Thể loại [Danh sách]</h5>
          </div>
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                    <th>Table</th>
                  <th>Tiêu đề</th>
                  <th>Ngôn ngữ</th>
                  <th>Hình ảnh</th>
                  
                  <th>Trạng thái</th>
                  <th>Thao Tác</th>
                </tr>
              </thead>
              <tbody>
                <?php  $_smarty_tpl->tpl_vars['detail'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['detail']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['select_table']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['detail']->key => $_smarty_tpl->tpl_vars['detail']->value){
$_smarty_tpl->tpl_vars['detail']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['detail']->key;
?>
                <td><?php echo $_GET['list_table'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['detail']->value['title'];?>
</td>
                <td></td>
                <td></td>
                <td ><i class="icon-eye-<?php if ($_smarty_tpl->tpl_vars['detail']->value['status']==1){?>open<?php }else{ ?>close<?php }?>"></i></td>
                <td class="center">
                    <a href="translation_update.php?id=<?php echo $_smarty_tpl->tpl_vars['detail']->value['id'];?>
&table=<?php echo $_GET['list_table'];?>
&lang=<?php echo $_GET['languages'];?>
"><i class="icon icon-pencil"></i></a>
                </td>
                </tr>
                <?php } ?>
        
              </tbody>
            </table>
          </div>
          
        </div>
        
        
        
        
      </div>
    </div>
  </div>
<?php }} ?>